package com.shoplook2025.good.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shoplook2025.good.model.Goods;
import com.shoplook2025.good.model.search.GoodsSearchBean;

import java.util.List;

/**
 * @author yan
 * @date 2025/8/25
 */

public interface GoodsService {
    Page<Goods> findAll(Page<Goods> page, GoodsSearchBean gsb);
    Goods findById(Integer id);
    int save(Goods goods);
    boolean update(Goods goods);
    int deleteByIds(List<Integer> ids);
}
